<?php
/*
* phpMySport : website for team sport clubs and leagues
*
* Copyright (C) 2006-2009 Jerome PLACE. All rights reserved.
*
* Email           : djayp [at] users.sourceforge.net
* Website         : http://phpmysport.sourceforge.net
* Version         : 1.4
* Last update     : 4 march 2009
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
*/

//require('index.php');


/************************/
/* Plugin gallerie photo           */
/************************/

$var['condition']="";
$var['limit']=" LIMIT 10 ";
// $var['order']=" ORDER BY category_id DESC ";

$included=1;
include_once(create_path("plugin/videocat/sql_videocat.php"));
include_once(create_path("plugin/video/sql_video.php"));
include_once(create_path("plugin/video/tpl_video.php"));
include_once(create_path("plugin/video/lg_video_".LANG.".php"));

if (isset($_GET['id']) && is_numeric($_GET['id'])){
    include(create_path("plugin/video/video_categorie.php"));
} else {
    include(create_path("plugin/video/video_home.php"));
}


?>